Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

  Common

  Consts

  Container

  Decoders

  Environment

  FilterSet

  Renderers

  Transcoders

  Utilities

  AudioFormat

  AudioReader

  AudioTrackReader

  AudioWriter

  AudioWriter(BinaryWriter, int, long, int, BitDepth)

  AudioWriter(string, int, long, int, BitDepth)

  Bits

  ChannelCount

  Create(string, int, long, int, BitDepth)

  Dispose()

  Length

  SampleRate

  Write(float[])

  Write(float[][])

  WriteBlock(float[], long, long)

  WriteBlock(float[][], long, long)

  WriteChannelLimitedBlock(float[], int, int, long, long)

  WriteForEachChannel(float[], int)

  WriteHeader()

  WriteOffset(float[][], int)

  writer

  BitDepth

  EnhancedAC3Reader

  LAFMode

  LimitlessAudioFormatReader

  LimitlessAudioFormatWriter

  RIFFWaveReader

  RIFFWaveWriter

  SegmentedAudioReader

  SegmentedAudioWriter

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class AudioWriter

Abstract audio file writer.
VisibilityPublic
Modifiersabstract
ExtendsIDisposable

Public functions

Constructor AudioWriter(BinaryWriter writer, int channelCount, long length, int sampleRate, BitDepth bits)Abstract audio file writer.
Constructor AudioWriter(string path, int channelCount, long length, int sampleRate, BitDepth bits)Abstract audio file writer.
void Dispose()Close the writer.
void Write(float[] samples)Write the entire mono file, including the header.
void Write(float[][] samples)Write the entire multichannel file.
void WriteBlock(float[][] samples, long from, long to)Write a block of multichannel samples.
void WriteChannelLimitedBlock(float[] samples, int channelLimit, int channels, long from, long to)Write the first selected channels of a block of mono or interlaced samples.
void WriteForEachChannel(float[] samples, int channelCount)Writes the to be played back channel after channel.
void WriteOffset(float[][] samples, int period = -1)Writes the to be played back channel after channel.

Public static functions

AudioWriter Create(string path, int channelCount, long length, int sampleRate, BitDepth bits) Create an AudioWriter that matches the output file name.

Public properties

BitDepth BitsOutput bit depth.
int ChannelCountOutput channel count.
long LengthOutput length in samples per channel.
int SampleRateOutput sample rate.

Public variables

void WriteBlock(float[] samples, long from, long to)Write a block of mono or interlaced samples.
void WriteHeader()Create the file header.

Protected variables

BinaryWriter writerFile writer object.